This name is what most of the stack is using.
Lets follow along, even though it is (imo)
uglier.
image: registry.gitlab.gnome.org/gnome/gtk/master:v6
stage: deploy
script:
- - meson -Ddocumentation=true _build .
+ - meson -Dgtk_doc=true _build .
- ninja -C _build
- ninja -C _build gdk4-doc gsk4-doc gtk4-doc
src_dir += [ gdkwayland_inc ]
endif
-if get_option('documentation')
+if get_option('gtk_doc')
configure_file(input: 'version.xml.in', output: 'version.xml', configuration: version_conf)
gnome.gtkdoc('gdk4',
images = [
]
-if get_option('documentation')
+if get_option('gtk_doc')
configure_file(input: 'version.xml.in', output: 'version.xml', configuration: version_conf)
gnome.gtkdoc('gsk4',
</group>
<sbr/>
<group>
- <arg choice="plain">-Ddocumentation=true</arg>
- <arg choice="plain">-Ddocumentation=false</arg>
+ <arg choice="plain">-Dgtk_doc=true</arg>
+ <arg choice="plain">-Dgtk_doc=false</arg>
</group>
<sbr/>
<group>
</formalpara>
<formalpara>
- <title><systemitem>documentation</systemitem> and
+ <title><systemitem>gtk_doc</systemitem> and
<systemitem>man-pages</systemitem></title>
<para>
<application>gtk-doc</application> installed and
are modifying GTK, you may want to enable
<application>gtk-doc</application> support by passing
- in <systemitem>documentation</systemitem>.
+ in <systemitem>gtk_doc</systemitem>.
</para>
<para>
Additionally, some tools provided by GTK have their own
types_conf.set('DISABLE_ON_QUARTZ', '')
endif
-if get_option('documentation')
+if get_option('gtk_doc')
configure_file(input: 'version.xml.in', output: 'version.xml', configuration: version_conf)
configure_file(input: 'getting_started.xml.in', output: 'getting_started.xml', configuration: src_dir_conf)
-if get_option('documentation')
+if get_option('gtk_doc')
glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix')
glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
-if x11_enabled and get_option('documentation')
+if x11_enabled and get_option('gtk_doc')
doc_shooter_sources = [
'shadow.c',
'shooter.c',
' Colord support: @0@'.format(get_option('colord')),
' Profiler: @0@'.format(get_option('profiler')),
' Introspection: @0@'.format(get_option('introspection')),
- ' Documentation: @0@'.format(get_option('documentation')),
+ ' Documentation: @0@'.format(get_option('gtk_doc')),
' Man pages: @0@'.format(get_option('man-pages')),
' Build tests: @0@'.format(get_option('build-tests')),
' Install tests: @0@'.format(get_option('install-tests')),
description : 'Build colord support for the CUPS printing backend')
# Documentation and introspection
-option('documentation', type: 'boolean', value: 'false',
+option('gtk_doc', type: 'boolean', value: 'false',
description : 'Build API reference and tools documentation')
option('man-pages', type: 'boolean', value: 'false',
description : 'Build man pages for installed tools')